<template>
  <div>
    Search
    params参数:{{$route.params.keyword}}
    <!-- ---{{keyword}} -->
    querry参数:{{$route.query.keyword1}}
    <!-- ---{{keyword1}} -->
  </div>
</template>

<script>
export default {
  name: 'Search',
  props:['keyword','keyword1'] // 声明接受属性
}
</script>

<style lang="less" scoped>

</style>
